package com.ton.common.entity;

import com.kypj.frame.db.annotation.MyPk;
import lombok.Data;

import java.util.Date;

/**
 * 订单实体类
 */
@Data
public class TonPayOrder {

    @MyPk
    private Long id;
    private String appId; //appID
    private String appName; //app名称
    private float amount; //金额
    private String callbackUrl; //回调URL
    private Integer coinType; //货币类型 货币类型 (0=TON 1=USDT)
    private Long userId; //用户id
    private String merchantOrderId; // 商家订单号
    private String remark; //备注信息
    private String fromAddress; // 出账地址
    private String toAddress; // 收账地址
    private String privateKey; //私钥
    private float targetAmount; //订单完成后的目标金额
    private Date createTime; //创建时间
    private Integer status;//状态 0=未完成 1=已完成 -1=已超时
}
